import java.util.Scanner;


public class Test1 {
    public static void main(String[] args) {
        //循环输入
        Scanner scan = new Scanner(System.in);
        while(scan.hasNextInt()) {
            int n = scan.nextInt();
            System.out.println(n);
        }
    }

    public static void main7(String[] args) {
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt();
        System.out.println(n);

        double d = scan.nextDouble();
        System.out.println(d);

        //清理上面的回车
        scan.nextLine();

        String str1 = scan.nextLine();
        System.out.println(str1);

        String str2 = scan.next();//next()遇到空格停止
        System.out.println(str2);

        String str3 = scan.next();
        System.out.println(str3);
    }

    public static void main6(String[] args) {
        for (int i = 1; i <= 10; i++) {
            System.out.println(i);
        }
    }

    public static void main5(String[] args) {
        int a = 1;
        while(a <= 10) {
            System.out.println(a);
            a++;
        }
    }

    public static void main4(String[] args) {
        System.out.println(1 < 5);
        System.out.println(1 <= 5);
        System.out.println(1 >= 5);
        System.out.println(1 > 5);
        System.out.println(1 != 5);
        System.out.println(1 == 5);

        int a = 1;
        //System.out.println(3 < a < 100);//error 编译不通过
        //3 < a  true
        //true < 100 ??
    }

    public static void main3(String[] args) {
        int i = 10;
        i = i++;
        System.out.println(i);//10 ?
    }

    public static void main2(String[] args) {
        short a = 2;
        //a = a + 1; //error
        a += 1;// += 会帮我们强制转换
        System.out.println(++a);//4
    }

    public static void main1(String[] args) {
        System.out.println(5/2);//2
        System.out.println((float)5/2);//2.5
        System.out.println(5/(float)2);//2.5
        System.out.println((float)(5/2));//2.0

        System.out.println(10%3);//1
        System.out.println(10%-3);//1
        System.out.println(-10%3);//-1
        System.out.println(-10%-3);//-1

        System.out.println(11.5%2);//1.5
    }
}
